package com.mop.core.es.bean;

import com.mop.core.es.api.annotation.IndexName;
import com.mop.core.es.api.bean.BaseESBean;

/**
 * @author lemon
 * @ClassName ArticleESBean
 * @desc 帖子es实体类
 * @Date 2019/1/5 13:11
 * @Version 1.0
 **/
@IndexName(index = "mop_community_article", type = "doc")
public class ArticleESBean extends BaseESBean {

    // rowkey
    private String rowkey;

    // articletp
    private String articletp;

    /**
     * dzh_subject表
     **/
    private Integer articleid;      // 帖子id

    private String title;           // 帖子标题

    private String summary;         // 帖子描述

    private Byte status;            // 审核状态 -1删除或不过 0审核中 1 审核过

    private Byte kind;              // 奖励制度

    private String mainplate;       // 帖子父板块

    private String subplate;        // 帖子板块

    private Integer mainplateid;    // 帖子父板块id

    private Integer subplateid;     // 帖子板块id

    private Integer unionid;        // 联盟id

    private String unionname;       // 联盟名称

    private Integer userid;         // 发帖userid

    private String username;        // 发帖username

    private Long publishtime;       // 发帖时间

    private String userip;          // 发帖用户ip

    private Integer userport;       // 发帖用户端口

    private Long lastreplytime;     // 最后回复时间

    private Integer sourcetp;       // 来源类型

    private String seotitle;        // 标题seo用

    private String seokeyword;      // 关键字seo用

    private String seodesc;    //seo摘要

    private Byte replyflag;         // 是否可以回复

    private Long addkindtime;       // 添加奖励时间

    private Byte hiddenflag;        // 是否匿名

    private String platelv001id;   // 一级板块id

    private String platelv002id;   // 二级板块id

    private Long cts;               // 发帖时间精确到ms的时间戳

    private String scts;//发帖时间精确到ms的时间戳

    /**
     * dzh_sub_info
     **/
    private String titlecolor;      // 帖子标题颜色

    private String shortname;//主板块简称拼音

    private String subshortname;//子板块简称拼音

    private Integer picflag;//是否有图

    private Integer videoflag;//是否有视频
    /**
     * dzh_subject_content表
     **/
    private String content;         // 帖子正文

    /**
     * dzh_sub_count表
     **/
    private Long replynum;        // 回复数

    private Integer topicid;        // 话题id

    private String topicname;        // 话题id

    private Long readnum;        // 阅读数

    private Long creadnum;        // 阅读数

    private Long praisenum;      // 点赞数

    private Long recommendnum;   // 推荐数

    private Long favoritenum;    // 收藏数

    private Long sharednum;     // 分享数

    private Long downvote;//踩


    /**
     * tt_subject
     **/
    private String showuserid;     // 发帖展示用户id，暂空

    private String showusername;    // 发帖展示用户名，暂空

    private Long updatetime;        // 修改时间

    private Byte anonymoustype;       // 匿名类型

    private String tag;             // 标签

    private String picurl;          // 帖子首图

    private String description;     // 描述

    private Byte isdeleted;         // 是否删除

    private Byte isupload;          // 静态页面是否上传

    private Byte hiddenreply;       // 是否隐藏回复

    private String rdts;           // 6位随机数

    private String htmlname;        // 静态页面的html名

    private String url;             // 静态页面的完整url

    private String imgjs;//图片列表 json [{"url":"","desc":"","height":"","width":""},{}]

    private String imgminiajs;      // 缩略图a列表

    private String imgminibjs;      // 缩略图b列表

    private String imgminicjs;      // 缩略图c列表

    private String imgminidjs;      // 缩略图d列表

    private String platelv003id;   // 三级板块id

    private String platelv004id;   // 四级板块id

    private String pushtpid;       // 放入最终表的id

    private Long lastreplyuid;      // 最后回复用户id

    private String lastreplyname;   // 最后回复用户名

    private String ext0;            // 备用字段0

    private String ext1;            // 备用字段1

    private String ext2;            // 备用字段2

    private String iscompress;//是否压缩

    private String content01;//去html正文

    private String summary01;

    private String videojs;//原视频(格式不固定)json

    private String videoajs;//wap端用(mp4格式)视频json

    private String videobjs;//pc端用(flv格式)视频json

    private String videoalltime;//视频总时长

    private Long videoplaytimes;//视频播放次数

    private String psource;//视频来源

    private String miniGifcJs;//gif

    private String miniGifdJs;//gif

    private String miniwxjs;//微信缩略图

    private String jsonurl;


    //汽车论坛子板块中文
    private String carLv001;

    private String carLv002;

    //汽车论坛子版块英文
    private String carLv001Id;

    private String carLv002Id;

    //汽车论坛发帖地点
    private String location;

    //汽车论坛发帖地点
    private String locationEng;

    //汽车论坛发帖地点
    private String provinceLocation;

    //汽车论坛发帖地点
    private String cityLocation;

    //发帖用户注册时间
    private Long userRegisterTime;

    //发帖用户性别
    private Byte userSex;

    //发帖子用户头像
    private String userImageUrl;

    //人工/爬虫标志0: 人工发帖 1: 机器发帖 2: 自动发帖
    private Integer insideflag;

    private String dataFrom;

    private String newTag;

    private String eastRowkey;

    public String getRowkey() {
        return rowkey;
    }

    public void setRowkey(String rowkey) {
        this.rowkey = rowkey;
    }

    public String getArticletp() {
        return articletp;
    }

    public void setArticletp(String articletp) {
        this.articletp = articletp;
    }

    public Integer getArticleid() {
        return articleid;
    }

    public void setArticleid(Integer articleid) {
        this.articleid = articleid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Byte getKind() {
        return kind;
    }

    public void setKind(Byte kind) {
        this.kind = kind;
    }

    public String getMainplate() {
        return mainplate;
    }

    public void setMainplate(String mainplate) {
        this.mainplate = mainplate;
    }

    public String getSubplate() {
        return subplate;
    }

    public void setSubplate(String subplate) {
        this.subplate = subplate;
    }

    public Integer getMainplateid() {
        return mainplateid;
    }

    public void setMainplateid(Integer mainplateid) {
        this.mainplateid = mainplateid;
    }

    public Integer getSubplateid() {
        return subplateid;
    }

    public void setSubplateid(Integer subplateid) {
        this.subplateid = subplateid;
    }

    public Integer getUnionid() {
        return unionid;
    }

    public void setUnionid(Integer unionid) {
        this.unionid = unionid;
    }

    public String getUnionname() {
        return unionname;
    }

    public void setUnionname(String unionname) {
        this.unionname = unionname;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Long getPublishtime() {
        return publishtime;
    }

    public void setPublishtime(Long publishtime) {
        this.publishtime = publishtime;
    }

    public String getUserip() {
        return userip;
    }

    public void setUserip(String userip) {
        this.userip = userip;
    }

    public Integer getUserport() {
        return userport;
    }

    public void setUserport(Integer userport) {
        this.userport = userport;
    }

    public Long getLastreplytime() {
        return lastreplytime;
    }

    public void setLastreplytime(Long lastreplytime) {
        this.lastreplytime = lastreplytime;
    }

    public Integer getSourcetp() {
        return sourcetp;
    }

    public void setSourcetp(Integer sourcetp) {
        this.sourcetp = sourcetp;
    }

    public String getSeotitle() {
        return seotitle;
    }

    public void setSeotitle(String seotitle) {
        this.seotitle = seotitle;
    }

    public String getSeokeyword() {
        return seokeyword;
    }

    public void setSeokeyword(String seokeyword) {
        this.seokeyword = seokeyword;
    }

    public String getSeodesc() {
        return seodesc;
    }

    public void setSeodesc(String seodesc) {
        this.seodesc = seodesc;
    }

    public Byte getReplyflag() {
        return replyflag;
    }

    public void setReplyflag(Byte replyflag) {
        this.replyflag = replyflag;
    }

    public Long getAddkindtime() {
        return addkindtime;
    }

    public void setAddkindtime(Long addkindtime) {
        this.addkindtime = addkindtime;
    }

    public Byte getHiddenflag() {
        return hiddenflag;
    }

    public void setHiddenflag(Byte hiddenflag) {
        this.hiddenflag = hiddenflag;
    }

    public String getPlatelv001id() {
        return platelv001id;
    }

    public void setPlatelv001id(String platelv001id) {
        this.platelv001id = platelv001id;
    }

    public String getPlatelv002id() {
        return platelv002id;
    }

    public void setPlatelv002id(String platelv002id) {
        this.platelv002id = platelv002id;
    }

    public Long getCts() {
        return cts;
    }

    public void setCts(Long cts) {
        this.cts = cts;
    }

    public String getScts() {
        return scts;
    }

    public void setScts(String scts) {
        this.scts = scts;
    }

    public String getTitlecolor() {
        return titlecolor;
    }

    public void setTitlecolor(String titlecolor) {
        this.titlecolor = titlecolor;
    }

    public String getShortname() {
        return shortname;
    }

    public void setShortname(String shortname) {
        this.shortname = shortname;
    }

    public String getSubshortname() {
        return subshortname;
    }

    public void setSubshortname(String subshortname) {
        this.subshortname = subshortname;
    }

    public Integer getPicflag() {
        return picflag;
    }

    public void setPicflag(Integer picflag) {
        this.picflag = picflag;
    }

    public Integer getVideoflag() {
        return videoflag;
    }

    public void setVideoflag(Integer videoflag) {
        this.videoflag = videoflag;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getReplynum() {
        return replynum;
    }

    public void setReplynum(Long replynum) {
        this.replynum = replynum;
    }

    public Integer getTopicid() {
        return topicid;
    }

    public void setTopicid(Integer topicid) {
        this.topicid = topicid;
    }

    public String getTopicname() {
        return topicname;
    }

    public void setTopicname(String topicname) {
        this.topicname = topicname;
    }

    public Long getReadnum() {
        return readnum;
    }

    public void setReadnum(Long readnum) {
        this.readnum = readnum;
    }

    public Long getCreadnum() {
        return creadnum;
    }

    public void setCreadnum(Long creadnum) {
        this.creadnum = creadnum;
    }

    public Long getPraisenum() {
        return praisenum;
    }

    public void setPraisenum(Long praisenum) {
        this.praisenum = praisenum;
    }

    public Long getRecommendnum() {
        return recommendnum;
    }

    public void setRecommendnum(Long recommendnum) {
        this.recommendnum = recommendnum;
    }

    public Long getFavoritenum() {
        return favoritenum;
    }

    public void setFavoritenum(Long favoritenum) {
        this.favoritenum = favoritenum;
    }

    public Long getSharednum() {
        return sharednum;
    }

    public void setSharednum(Long sharednum) {
        this.sharednum = sharednum;
    }

    public Long getDownvote() {
        return downvote;
    }

    public void setDownvote(Long downvote) {
        this.downvote = downvote;
    }

    public String getShowuserid() {
        return showuserid;
    }

    public void setShowuserid(String showuserid) {
        this.showuserid = showuserid;
    }

    public String getShowusername() {
        return showusername;
    }

    public void setShowusername(String showusername) {
        this.showusername = showusername;
    }

    public Long getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Long updatetime) {
        this.updatetime = updatetime;
    }

    public Byte getAnonymoustype() {
        return anonymoustype;
    }

    public void setAnonymoustype(Byte anonymoustype) {
        this.anonymoustype = anonymoustype;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getPicurl() {
        return picurl;
    }

    public void setPicurl(String picurl) {
        this.picurl = picurl;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Byte getIsdeleted() {
        return isdeleted;
    }

    public void setIsdeleted(Byte isdeleted) {
        this.isdeleted = isdeleted;
    }

    public Byte getIsupload() {
        return isupload;
    }

    public void setIsupload(Byte isupload) {
        this.isupload = isupload;
    }

    public Byte getHiddenreply() {
        return hiddenreply;
    }

    public void setHiddenreply(Byte hiddenreply) {
        this.hiddenreply = hiddenreply;
    }

    public String getRdts() {
        return rdts;
    }

    public void setRdts(String rdts) {
        this.rdts = rdts;
    }

    public String getHtmlname() {
        return htmlname;
    }

    public void setHtmlname(String htmlname) {
        this.htmlname = htmlname;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getImgjs() {
        return imgjs;
    }

    public void setImgjs(String imgjs) {
        this.imgjs = imgjs;
    }

    public String getImgminiajs() {
        return imgminiajs;
    }

    public void setImgminiajs(String imgminiajs) {
        this.imgminiajs = imgminiajs;
    }

    public String getImgminibjs() {
        return imgminibjs;
    }

    public void setImgminibjs(String imgminibjs) {
        this.imgminibjs = imgminibjs;
    }

    public String getImgminicjs() {
        return imgminicjs;
    }

    public void setImgminicjs(String imgminicjs) {
        this.imgminicjs = imgminicjs;
    }

    public String getImgminidjs() {
        return imgminidjs;
    }

    public void setImgminidjs(String imgminidjs) {
        this.imgminidjs = imgminidjs;
    }

    public String getPlatelv003id() {
        return platelv003id;
    }

    public void setPlatelv003id(String platelv003id) {
        this.platelv003id = platelv003id;
    }

    public String getPlatelv004id() {
        return platelv004id;
    }

    public void setPlatelv004id(String platelv004id) {
        this.platelv004id = platelv004id;
    }

    public String getPushtpid() {
        return pushtpid;
    }

    public void setPushtpid(String pushtpid) {
        this.pushtpid = pushtpid;
    }

    public Long getLastreplyuid() {
        return lastreplyuid;
    }

    public void setLastreplyuid(Long lastreplyuid) {
        this.lastreplyuid = lastreplyuid;
    }

    public String getLastreplyname() {
        return lastreplyname;
    }

    public void setLastreplyname(String lastreplyname) {
        this.lastreplyname = lastreplyname;
    }

    public String getExt0() {
        return ext0;
    }

    public void setExt0(String ext0) {
        this.ext0 = ext0;
    }

    public String getExt1() {
        return ext1;
    }

    public void setExt1(String ext1) {
        this.ext1 = ext1;
    }

    public String getExt2() {
        return ext2;
    }

    public void setExt2(String ext2) {
        this.ext2 = ext2;
    }

    public String getIscompress() {
        return iscompress;
    }

    public void setIscompress(String iscompress) {
        this.iscompress = iscompress;
    }

    public String getContent01() {
        return content01;
    }

    public void setContent01(String content01) {
        this.content01 = content01;
    }

    public String getSummary01() {
        return summary01;
    }

    public void setSummary01(String summary01) {
        this.summary01 = summary01;
    }

    public String getVideojs() {
        return videojs;
    }

    public void setVideojs(String videojs) {
        this.videojs = videojs;
    }

    public String getVideoajs() {
        return videoajs;
    }

    public void setVideoajs(String videoajs) {
        this.videoajs = videoajs;
    }

    public String getVideobjs() {
        return videobjs;
    }

    public void setVideobjs(String videobjs) {
        this.videobjs = videobjs;
    }

    public String getVideoalltime() {
        return videoalltime;
    }

    public void setVideoalltime(String videoalltime) {
        this.videoalltime = videoalltime;
    }

    public Long getVideoplaytimes() {
        return videoplaytimes;
    }

    public void setVideoplaytimes(Long videoplaytimes) {
        this.videoplaytimes = videoplaytimes;
    }

    public String getPsource() {
        return psource;
    }

    public void setPsource(String psource) {
        this.psource = psource;
    }

    public String getMiniGifcJs() {
        return miniGifcJs;
    }

    public void setMiniGifcJs(String miniGifcJs) {
        this.miniGifcJs = miniGifcJs;
    }

    public String getMiniGifdJs() {
        return miniGifdJs;
    }

    public void setMiniGifdJs(String miniGifdJs) {
        this.miniGifdJs = miniGifdJs;
    }

    public String getMiniwxjs() {
        return miniwxjs;
    }

    public void setMiniwxjs(String miniwxjs) {
        this.miniwxjs = miniwxjs;
    }

    public String getJsonurl() {
        return jsonurl;
    }

    public void setJsonurl(String jsonurl) {
        this.jsonurl = jsonurl;
    }

    public String getCarLv001() {
        return carLv001;
    }

    public void setCarLv001(String carLv001) {
        this.carLv001 = carLv001;
    }

    public String getCarLv002() {
        return carLv002;
    }

    public void setCarLv002(String carLv002) {
        this.carLv002 = carLv002;
    }

    public String getCarLv001Id() {
        return carLv001Id;
    }

    public void setCarLv001Id(String carLv001Id) {
        this.carLv001Id = carLv001Id;
    }

    public String getCarLv002Id() {
        return carLv002Id;
    }

    public void setCarLv002Id(String carLv002Id) {
        this.carLv002Id = carLv002Id;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getLocationEng() {
        return locationEng;
    }

    public void setLocationEng(String locationEng) {
        this.locationEng = locationEng;
    }

    public String getProvinceLocation() {
        return provinceLocation;
    }

    public void setProvinceLocation(String provinceLocation) {
        this.provinceLocation = provinceLocation;
    }

    public String getCityLocation() {
        return cityLocation;
    }

    public void setCityLocation(String cityLocation) {
        this.cityLocation = cityLocation;
    }

    public Long getUserRegisterTime() {
        return userRegisterTime;
    }

    public void setUserRegisterTime(Long userRegisterTime) {
        this.userRegisterTime = userRegisterTime;
    }

    public Byte getUserSex() {
        return userSex;
    }

    public void setUserSex(Byte userSex) {
        this.userSex = userSex;
    }

    public String getUserImageUrl() {
        return userImageUrl;
    }

    public void setUserImageUrl(String userImageUrl) {
        this.userImageUrl = userImageUrl;
    }

    public Integer getInsideflag() {
        return insideflag;
    }

    public void setInsideflag(Integer insideflag) {
        this.insideflag = insideflag;
    }

    public String getDataFrom() {
        return dataFrom;
    }

    public void setDataFrom(String dataFrom) {
        this.dataFrom = dataFrom;
    }

    public String getNewTag() {
        return newTag;
    }

    public void setNewTag(String newTag) {
        this.newTag = newTag;
    }

    public String getEastRowkey() {
        return eastRowkey;
    }

    public void setEastRowkey(String eastRowkey) {
        this.eastRowkey = eastRowkey;
    }
}
